package net.maku.module.asset.convert;

import net.maku.module.asset.entity.AssetEntity;
import net.maku.module.asset.vo.AssetVO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
* 业务_资产
*
* @author    
*/
@Mapper
public interface AssetConvert {
    AssetConvert INSTANCE = Mappers.getMapper(AssetConvert.class);

    AssetEntity convert(AssetVO vo);

    AssetVO convert(AssetEntity entity);

    List<AssetVO> convertList(List<AssetEntity> list);

}